package com.wavehi.pojo;

import lombok.*;
import org.springframework.stereotype.Service;

/**
 * @Author WaveHi
 * @Date 16/10/2021 下午 8:22
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description Encapsulate the person information
 */
@Getter
@Setter
@AllArgsConstructor
@ToString
public class Person {
    private Long        id;     //Person id
    private String      name;   //Person name

    public Person() {
        System.out.println("Person() operate!");
    }

    public void doInit() {
        System.out.println("Init operate!");
    }

    public void doDestroy() {
        System.out.println("Destroy operate!");
    }

}
